<?php 
include_once dirname(__FILE__).'/config.php';
$process = new Process(  );
$actionMode = $_REQUEST['actionMode'];

switch( $actionMode ){
	case 'create':
		$process->setPost($_REQUEST);
		$process->SaveCreate();
	break;
	
	case 'edit':
		$process->setPost($_REQUEST);
		$process->SaveEdit();
	break;
	case 'login':
		$process->setPost($_REQUEST);
		$process->Login();
	break;
	case 'logout':

		$process->Logout();
	break;
	
	case 'del':
		$process->setPost($_REQUEST);
		$process->DelList();
	break;
}

?>